package com.aliang.docker.controller;


import com.aliang.docker.ITUserService;
import com.aliang.docker.entity.TUser;
import com.aliang.docker.entity.User;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * actable进阶配置 前端控制器
 * </p>
 *
 * @author astupidcoder
 * @since 2020-12-21
 */
@Api(tags = "账号信息控制器")
@RestController
@RequestMapping("/t-user")
public class TUserController {

  @Autowired
  ITUserService itUserService;
  @PostMapping("/getUser")
  public TUser getUser(){
    return itUserService.getById(1);
  }
}
